/* ============================================
   Contact Hero - Premium Visual Design
   ============================================ */

/* ---------- Contact Hero ---------- */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f7f3 0%, #dcebe4 100%);
    transition: background 0.3s;
}

body.dark .contact-hero {
    background: linear-gradient(145deg, #0b1a14 0%, #0f221b 100%);
}

/* Premium animated gradient background */
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 70% 30%, rgba(0, 166, 81, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(0, 108, 59, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 166, 81, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 166, 81, 0.04) 0%, transparent 40%);
    animation: contactGlow 16s ease-in-out infinite alternate;
    background-size: 200% 200%;
}

@keyframes contactGlow {
    0% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.8;
        transform: scale(1.06) rotate(1deg);
    }
    66% {
        opacity: 0.6;
        transform: scale(0.94) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1.03) rotate(0deg);
    }
}

/* Premium pattern overlay */
.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: 
        repeating-linear-gradient(45deg, 
            rgba(0, 166, 81, 0.02) 0px, 
            rgba(0, 166, 81, 0.02) 2px,
            transparent 2px, 
            transparent 12px
        ),
        repeating-linear-gradient(-45deg, 
            rgba(0, 166, 81, 0.02) 0px, 
            rgba(0, 166, 81, 0.02) 2px,
            transparent 2px, 
            transparent 12px
        ),
        repeating-linear-gradient(0deg, 
            rgba(0, 166, 81, 0.01) 0px, 
            rgba(0, 166, 81, 0.01) 1px,
            transparent 1px, 
            transparent 60px
        ),
        repeating-linear-gradient(90deg, 
            rgba(0, 166, 81, 0.01) 0px, 
            rgba(0, 166, 81, 0.01) 1px,
            transparent 1px, 
            transparent 60px
        );
    pointer-events: none;
}

/* Decorative icons */
.contact-hero .bg-decoration {
    position: absolute;
    right: -2%;
    top: 15%;
    font-size: 20rem;
    opacity: 0.04;
    color: #006C3B;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    animation: floatIcon 8s ease-in-out infinite;
}

.contact-hero .bg-decoration-secondary {
    position: absolute;
    left: -2%;
    bottom: 10%;
    font-size: 14rem;
    opacity: 0.035;
    color: #00A651;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    animation: floatIcon 10s ease-in-out infinite reverse;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

body.dark .contact-hero .bg-decoration,
body.dark .contact-hero .bg-decoration-secondary {
    color: #00A651;
    opacity: 0.06;
}

/* Enhanced floating dots */
.contact-hero .floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.contact-hero .floating-dots span {
    position: absolute;
    display: block;
    border-radius: 50%;
    animation: floatDotContact 22s infinite linear;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.2), rgba(0, 166, 81, 0.05));
}

.contact-hero .floating-dots span:nth-child(1) { 
    top: 10%; left: 5%; 
    animation-delay: 0s; 
    width: 10px; height: 10px;
}
.contact-hero .floating-dots span:nth-child(2) { 
    top: 25%; right: 10%; 
    animation-delay: -3.5s; 
    width: 6px; height: 6px;
}
.contact-hero .floating-dots span:nth-child(3) { 
    bottom: 20%; left: 8%; 
    animation-delay: -7s; 
    width: 14px; height: 14px;
    background: radial-gradient(circle, rgba(0, 108, 59, 0.2), rgba(0, 108, 59, 0.03));
}
.contact-hero .floating-dots span:nth-child(4) { 
    bottom: 30%; right: 15%; 
    animation-delay: -11s; 
    width: 8px; height: 8px;
}
.contact-hero .floating-dots span:nth-child(5) { 
    top: 50%; left: 3%; 
    animation-delay: -5.5s; 
    width: 16px; height: 16px;
    opacity: 0.06;
}
.contact-hero .floating-dots span:nth-child(6) { 
    top: 60%; right: 4%; 
    animation-delay: -9s; 
    width: 12px; height: 12px;
    opacity: 0.08;
}
.contact-hero .floating-dots span:nth-child(7) { 
    top: 80%; left: 25%; 
    animation-delay: -13s; 
    width: 6px; height: 6px;
}
.contact-hero .floating-dots span:nth-child(8) { 
    top: 40%; left: 50%; 
    animation-delay: -16s; 
    width: 8px; height: 8px;
}

@keyframes floatDotContact {
    0% { transform: translate(0, 0) scale(1); opacity: 0.1; }
    20% { transform: translate(-25px, -35px) scale(1.3); opacity: 0.4; }
    40% { transform: translate(20px, -65px) scale(0.8); opacity: 0.15; }
    60% { transform: translate(-35px, -25px) scale(1.2); opacity: 0.3; }
    80% { transform: translate(15px, -45px) scale(0.9); opacity: 0.2; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
}

/* Hero content */
.contact-hero .container {
    position: relative;
    z-index: 1;
    padding-left: clamp(1.25rem, 2vw, 2.5rem);
    padding-right: clamp(1.25rem, 2vw, 2.5rem);
}

.projects-hero .container {
    position: relative;
    z-index: 1;
    padding-left: clamp(1.25rem, 2vw, 2.5rem);
    padding-right: clamp(1.25rem, 2vw, 2.5rem);
}

.contact-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Breadcrumb */
.contact-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-hero .breadcrumb .active {
    color: #00A651;
}

.contact-hero .breadcrumb i {
    font-size: 0.6rem;
    color: #94a3b8;
}

body.dark .contact-hero .breadcrumb {
    color: #94a3b8;
}

/* Main heading */
.contact-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0b1a14;
    transition: color 0.3s;
}

body.dark .contact-hero h1 {
    color: #e8f0ec;
}

.contact-hero h1 .text-gradient {
    background: linear-gradient(135deg, #00A651, #006C3B, #00A651);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.contact-hero p {
    font-size: 1.2rem;
    color: #2d4a3a;
    max-width: 520px;
    margin-top: 0.8rem;
    line-height: 1.7;
    transition: color 0.3s;
}

body.dark .contact-hero p {
    color: #b6ccc2;
}

/* Contact options */
.contact-hero .contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-hero .contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    max-width: 380px;
}

body.dark .contact-hero .contact-option {
    background: rgba(26, 42, 34, 0.6);
    border-color: rgba(0, 166, 81, 0.1);
}

.contact-hero .contact-option:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 166, 81, 0.08);
}

body.dark .contact-hero .contact-option:hover {
    background: rgba(26, 42, 34, 0.8);
}

.contact-hero .option-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.12), rgba(0, 108, 59, 0.08));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #00A651;
    transition: all 0.3s;
}

.contact-hero .contact-option:hover .option-icon {
    background: linear-gradient(135deg, #00A651, #006C3B);
    color: white;
    transform: scale(1.05);
}

.contact-hero .option-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

body.dark .contact-hero .option-label {
    color: #64748B;
}

.contact-hero .option-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b1a14;
    transition: color 0.3s;
}

body.dark .contact-hero .option-value {
    color: #e8f0ec;
}

/* Hero buttons */
.contact-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.contact-hero .btn {
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    background: #00A651;
    color: white;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.25);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.contact-hero .btn:hover {
    background: #006C3B;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 166, 81, 0.35);
}

.contact-hero .btn-outline {
    background: transparent;
    border: 2px solid #00A651;
    color: #00A651;
    box-shadow: none;
}

.contact-hero .btn-outline:hover {
    background: #00A651;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 166, 81, 0.25);
}

body.dark .contact-hero .btn-outline {
    border-color: #4cdb8f;
    color: #4cdb8f;
}

body.dark .contact-hero .btn-outline:hover {
    background: #4cdb8f;
    color: #0b1a14;
}

/* Hero image with contact card */
.contact-hero .hero-image {
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 166, 81, 0.12), transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 108, 59, 0.08), transparent 50%);
    background-color: #dcebe4;
    border-radius: 32px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.08), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 166, 81, 0.08);
    position: relative;
    overflow: hidden;
}

body.dark .contact-hero .hero-image {
    background-color: #1a2a22;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 166, 81, 0.15);
}

/* Contact card glow effect */
.contact-hero .image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.contact-hero .contact-card-glow {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 280px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 166, 81, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: pulseGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.contact-hero .contact-card-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(135deg, #00A651, #006C3B, #00A651);
    background-size: 300% 300%;
    border-radius: 30px;
    opacity: 0.15;
    animation: gradientBorder 4s ease-in-out infinite;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 166, 81, 0.12); }
    50% { box-shadow: 0 20px 80px rgba(0, 166, 81, 0.2); }
}

body.dark .contact-hero .contact-card-glow {
    background: rgba(26, 42, 34, 0.8);
    border-color: rgba(0, 166, 81, 0.15);
}

.contact-hero .contact-card-glow i {
    font-size: 3.5rem;
    color: #00A651;
    margin-bottom: 0.8rem;
}

body.dark .contact-hero .contact-card-glow i {
    color: #4cdb8f;
}

.contact-hero .contact-card-glow h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b1a14;
    margin-bottom: 0.3rem;
}

body.dark .contact-hero .contact-card-glow h3 {
    color: #e8f0ec;
}

.contact-hero .contact-card-glow p {
    font-size: 0.9rem;
    color: #64748B;
    margin: 0;
}

body.dark .contact-hero .contact-card-glow p {
    color: #94a3b8;
}

/* Floating badges */
.contact-hero .floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0b1a14;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: floatBadge 4s ease-in-out infinite;
}

body.dark .contact-hero .floating-badge {
    background: rgba(26, 42, 34, 0.85);
    color: #e8f0ec;
    border-color: rgba(0, 166, 81, 0.15);
}

.contact-hero .floating-badge i {
    color: #00A651;
}

.contact-hero .badge-1 {
    top: 12%;
    right: 8%;
    animation-delay: 0s;
}

.contact-hero .badge-2 {
    bottom: 18%;
    left: 10%;
    animation-delay: -2.5s;
}



/* ============================================
   Projects Hero - Premium Visual Design
   ============================================ */

/* ---------- Projects Hero ---------- */
.projects-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f7f3 0%, #dcebe4 100%);
    transition: background 0.3s;
}

body.dark .projects-hero {
    background: linear-gradient(145deg, #0b1a14 0%, #0f221b 100%);
}

/* Premium animated gradient background */
.projects-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(0, 166, 81, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(0, 108, 59, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 166, 81, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 166, 81, 0.04) 0%, transparent 40%);
    animation: projectsGlow 18s ease-in-out infinite alternate;
    background-size: 200% 200%;
}

@keyframes projectsGlow {
    0% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.8;
        transform: scale(1.05) rotate(1deg);
    }
    66% {
        opacity: 0.6;
        transform: scale(0.95) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1.02) rotate(0deg);
    }
}

/* Premium pattern overlay with construction theme */
.projects-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: 
        repeating-linear-gradient(45deg, 
            rgba(0, 166, 81, 0.02) 0px, 
            rgba(0, 166, 81, 0.02) 2px,
            transparent 2px, 
            transparent 12px
        ),
        repeating-linear-gradient(-45deg, 
            rgba(0, 166, 81, 0.02) 0px, 
            rgba(0, 166, 81, 0.02) 2px,
            transparent 2px, 
            transparent 12px
        ),
        repeating-linear-gradient(0deg, 
            rgba(0, 166, 81, 0.01) 0px, 
            rgba(0, 166, 81, 0.01) 1px,
            transparent 1px, 
            transparent 60px
        ),
        repeating-linear-gradient(90deg, 
            rgba(0, 166, 81, 0.01) 0px, 
            rgba(0, 166, 81, 0.01) 1px,
            transparent 1px, 
            transparent 60px
        );
    pointer-events: none;
}

/* Decorative icons */
.projects-hero .bg-decoration {
    position: absolute;
    right: -3%;
    top: 8%;
    font-size: 22rem;
    opacity: 0.04;
    color: #006C3B;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    animation: floatIcon 9s ease-in-out infinite;
}

.projects-hero .bg-decoration-secondary {
    position: absolute;
    left: -2%;
    bottom: 8%;
    font-size: 16rem;
    opacity: 0.035;
    color: #00A651;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    animation: floatIcon 11s ease-in-out infinite reverse;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

body.dark .projects-hero .bg-decoration,
body.dark .projects-hero .bg-decoration-secondary {
    color: #00A651;
    opacity: 0.06;
}

/* Enhanced floating dots with construction theme */
.projects-hero .floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.projects-hero .floating-dots span {
    position: absolute;
    display: block;
    border-radius: 50%;
    animation: floatDotProjects 24s infinite linear;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.2), rgba(0, 166, 81, 0.05));
}

.projects-hero .floating-dots span:nth-child(1) { 
    top: 8%; left: 5%; 
    animation-delay: 0s; 
    width: 10px; height: 10px;
}
.projects-hero .floating-dots span:nth-child(2) { 
    top: 22%; right: 8%; 
    animation-delay: -3.5s; 
    width: 6px; height: 6px;
}
.projects-hero .floating-dots span:nth-child(3) { 
    bottom: 18%; left: 8%; 
    animation-delay: -7s; 
    width: 14px; height: 14px;
    background: radial-gradient(circle, rgba(0, 108, 59, 0.2), rgba(0, 108, 59, 0.03));
}
.projects-hero .floating-dots span:nth-child(4) { 
    bottom: 28%; right: 12%; 
    animation-delay: -11s; 
    width: 8px; height: 8px;
}
.projects-hero .floating-dots span:nth-child(5) { 
    top: 48%; left: 3%; 
    animation-delay: -5.5s; 
    width: 16px; height: 16px;
    opacity: 0.06;
}
.projects-hero .floating-dots span:nth-child(6) { 
    top: 58%; right: 3%; 
    animation-delay: -9s; 
    width: 12px; height: 12px;
    opacity: 0.08;
}
.projects-hero .floating-dots span:nth-child(7) { 
    top: 78%; left: 22%; 
    animation-delay: -13s; 
    width: 6px; height: 6px;
}
.projects-hero .floating-dots span:nth-child(8) { 
    top: 38%; left: 48%; 
    animation-delay: -16s; 
    width: 8px; height: 8px;
}

@keyframes floatDotProjects {
    0% { transform: translate(0, 0) scale(1); opacity: 0.1; }
    20% { transform: translate(30px, -40px) scale(1.3); opacity: 0.4; }
    40% { transform: translate(-20px, -70px) scale(0.8); opacity: 0.15; }
    60% { transform: translate(40px, -30px) scale(1.2); opacity: 0.3; }
    80% { transform: translate(-10px, -50px) scale(0.9); opacity: 0.2; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
}

/* Hero content */
.projects-hero .container {
    position: relative;
    z-index: 1;
}

.projects-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Breadcrumb */
.projects-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.projects-hero .breadcrumb .active {
    color: #00A651;
}

.projects-hero .breadcrumb i {
    font-size: 0.6rem;
    color: #94a3b8;
}

body.dark .projects-hero .breadcrumb {
    color: #94a3b8;
}

/* Main heading */
.projects-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0b1a14;
    transition: color 0.3s;
}

body.dark .projects-hero h1 {
    color: #e8f0ec;
}

.projects-hero h1 .text-gradient {
    background: linear-gradient(135deg, #00A651, #006C3B, #00A651);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.projects-hero p {
    font-size: 1.2rem;
    color: #2d4a3a;
    max-width: 520px;
    margin-top: 0.8rem;
    line-height: 1.7;
    transition: color 0.3s;
}

body.dark .projects-hero p {
    color: #b6ccc2;
}

/* Project stats */
.projects-hero .project-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
}

.projects-hero .stat-item {
    display: flex;
    flex-direction: column;
}

.projects-hero .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #00A651;
    line-height: 1;
}

body.dark .projects-hero .stat-number {
    color: #4cdb8f;
}

.projects-hero .stat-label {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
    margin-top: 0.2rem;
}

body.dark .projects-hero .stat-label {
    color: #94a3b8;
}

/* Hero buttons */
.projects-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.projects-hero .btn {
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    background: #00A651;
    color: white;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.25);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.projects-hero .btn:hover {
    background: #006C3B;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 166, 81, 0.35);
}

.projects-hero .btn-outline {
    background: transparent;
    border: 2px solid #00A651;
    color: #00A651;
    box-shadow: none;
}

.projects-hero .btn-outline:hover {
    background: #00A651;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 166, 81, 0.25);
}

body.dark .projects-hero .btn-outline {
    border-color: #4cdb8f;
    color: #4cdb8f;
}

body.dark .projects-hero .btn-outline:hover {
    background: #4cdb8f;
    color: #0b1a14;
}

/* Hero image with project card */
.projects-hero .hero-image {
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 166, 81, 0.12), transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 108, 59, 0.08), transparent 50%);
    background-color: #dcebe4;
    border-radius: 32px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.08), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 166, 81, 0.08);
    position: relative;
    overflow: hidden;
}

body.dark .projects-hero .hero-image {
    background-color: #1a2a22;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 166, 81, 0.15);
}

/* Project card glow effect */
.projects-hero .image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.projects-hero .project-card-glow {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 166, 81, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: pulseGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.projects-hero .project-card-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(135deg, #00A651, #006C3B, #00A651);
    background-size: 300% 300%;
    border-radius: 30px;
    opacity: 0.15;
    animation: gradientBorder 4s ease-in-out infinite;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 166, 81, 0.12); }
    50% { box-shadow: 0 20px 80px rgba(0, 166, 81, 0.2); }
}

body.dark .projects-hero .project-card-glow {
    background: rgba(26, 42, 34, 0.8);
    border-color: rgba(0, 166, 81, 0.15);
}

/* Project icons grid inside card */
.projects-hero .project-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.projects-hero .project-icons i {
    font-size: 2rem;
    color: #00A651;
    background: rgba(0, 166, 81, 0.08);
    padding: 0.6rem;
    border-radius: 12px;
    transition: all 0.3s;
}

body.dark .projects-hero .project-icons i {
    color: #4cdb8f;
    background: rgba(0, 166, 81, 0.1);
}

.projects-hero .project-icons i:hover {
    transform: scale(1.1);
    background: rgba(0, 166, 81, 0.15);
}

.projects-hero .project-card-glow h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0b1a14;
    margin-bottom: 0.2rem;
}

body.dark .projects-hero .project-card-glow h3 {
    color: #e8f0ec;
}

.projects-hero .project-card-glow p {
    font-size: 0.9rem;
    color: #64748B;
    margin: 0;
}

body.dark .projects-hero .project-card-glow p {
    color: #94a3b8;
}

/* Floating badges */
.projects-hero .floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0b1a14;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: floatBadge 4s ease-in-out infinite;
}

body.dark .projects-hero .floating-badge {
    background: rgba(26, 42, 34, 0.85);
    color: #e8f0ec;
    border-color: rgba(0, 166, 81, 0.15);
}

.projects-hero .floating-badge i {
    color: #00A651;
}

.projects-hero .badge-1 {
    top: 10%;
    right: 6%;
    animation-delay: 0s;
}

.projects-hero .badge-2 {
    bottom: 15%;
    left: 8%;
    animation-delay: -2.5s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .projects-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .projects-hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .projects-hero .hero-buttons {
        justify-content: center;
    }
    .projects-hero .project-stats {
        justify-content: center;
    }
    .projects-hero .bg-decoration {
        font-size: 16rem;
        right: -2%;
        top: 5%;
    }
    .projects-hero .bg-decoration-secondary {
        font-size: 12rem;
        left: -2%;
        bottom: 2%;
    }
    .projects-hero .floating-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .projects-hero {
        min-height: auto;
        padding: 3rem 0;
    }
    .projects-hero h1 {
        font-size: 2.6rem;
    }
    .projects-hero p {
        font-size: 1.05rem;
    }
    .projects-hero .hero-image {
        min-height: 220px;
        border-radius: 24px;
    }
    .projects-hero .project-card-glow {
        padding: 1.8rem 1.5rem;
        max-width: 240px;
    }
    .projects-hero .project-icons i {
        font-size: 1.6rem;
        padding: 0.5rem;
    }
    .projects-hero .project-stats {
        gap: 1.5rem;
    }
    .projects-hero .stat-number {
        font-size: 1.4rem;
    }
    .projects-hero .bg-decoration {
        font-size: 12rem;
    }
    .projects-hero .bg-decoration-secondary {
        font-size: 8rem;
    }
    .projects-hero .floating-dots span {
        display: none;
    }
}

@media (max-width: 480px) {
    .projects-hero h1 {
        font-size: 2.2rem;
    }
    .projects-hero .hero-image {
        min-height: 180px;
        border-radius: 20px;
    }
    .projects-hero .project-card-glow {
        padding: 1.2rem 1rem;
        max-width: 200px;
    }
    .projects-hero .project-icons {
        gap: 0.5rem;
    }
    .projects-hero .project-icons i {
        font-size: 1.2rem;
        padding: 0.4rem;
        border-radius: 8px;
    }
    .projects-hero .project-card-glow h3 {
        font-size: 1rem;
    }
    .projects-hero .project-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .projects-hero .stat-item {
        flex: 1;
        min-width: 60px;
    }
    .projects-hero .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .projects-hero .bg-decoration {
        font-size: 8rem;
        right: 0;
        top: 0;
    }
    .projects-hero .bg-decoration-secondary {
        font-size: 6rem;
        left: 0;
        bottom: 0;
    }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .contact-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .contact-hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .contact-hero .hero-buttons {
        justify-content: center;
    }
    .contact-hero .contact-options {
        align-items: center;
    }
    .contact-hero .contact-option {
        max-width: 100%;
        width: 100%;
    }
    .contact-hero .bg-decoration {
        font-size: 16rem;
        right: -2%;
        top: 5%;
    }
    .contact-hero .bg-decoration-secondary {
        font-size: 12rem;
        left: -2%;
        bottom: 2%;
    }
    .contact-hero .floating-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: auto;
        padding: 3rem 0;
    }
    .contact-hero h1 {
        font-size: 2.6rem;
    }
    .contact-hero p {
        font-size: 1.05rem;
    }
    .contact-hero .hero-image {
        min-height: 220px;
        border-radius: 24px;
    }
    .contact-hero .contact-card-glow {
        padding: 1.8rem 1.5rem;
        max-width: 220px;
    }
    .contact-hero .contact-card-glow i {
        font-size: 2.8rem;
    }
    .contact-hero .bg-decoration {
        font-size: 12rem;
    }
    .contact-hero .bg-decoration-secondary {
        font-size: 8rem;
    }
    .contact-hero .floating-dots span {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    .contact-hero .hero-image {
        min-height: 180px;
        border-radius: 20px;
    }
    .contact-hero .contact-card-glow {
        padding: 1.2rem 1rem;
        max-width: 180px;
    }
    .contact-hero .contact-card-glow i {
        font-size: 2.2rem;
    }
    .contact-hero .contact-card-glow h3 {
        font-size: 1.1rem;
    }
    .contact-hero .contact-option {
        padding: 0.6rem 1rem;
    }
    .contact-hero .option-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }
    .contact-hero .option-value {
        font-size: 0.8rem;
    }
    .contact-hero .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .contact-hero .bg-decoration {
        font-size: 8rem;
        right: 0;
        top: 0;
    }
    .contact-hero .bg-decoration-secondary {
        font-size: 6rem;
        left: 0;
        bottom: 0;
    }
}